<script setup lang="ts">
import { useRoute } from 'vue-router';
const route = useRoute();

console.log(route.params.id);
</script>

<template>
  <div style="height: 1000px"></div>
  <div class="top-category">
    <div class="container">顶级类目</div>
  </div>
</template>

<style scoped lang="less"></style>
